<?php 
include("smarty/Smarty.class.php");
include("inc/website_info.php");

//模板引擎配置
$smarty=new Smarty();
$smarty->caching=false;
$smarty->template_dir="./templates/default";
$smarty->compile_dir="./compile";
$smarty->cache_dir="./cache";
$smarty->left_delimiter = "<#";
$smarty->right_delimiter = "#>";

//站点基本信息
$smarty->assign("name",$web_info['website_name']);
$smarty->assign("website_root",$web_info['website_root']);
$smarty->assign("title",$web_info['website_title']);
$smarty->assign("powerby",$web_info['website_powerby']);
$smarty->assign("beian",$web_info['website_beian']);
$smarty->assign("keyword",$web_info['website_keywords']);
$smarty->assign("description",$web_info['web_descprition']);
?>